<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<!--onclick 是点击事件属性
alert() 弹出提示框方法-->
<input type="button" value="按钮" onclick="alert('Hello Word')">

<script>
    alert("内部引入成功！")
</script>
<!--引入外部js文件-->
<script src="my.js"></script>
</body>
</html>